home *** CD-ROM | disk | FTP | other *** search
- /*
- File: MegaDialog.h
-
- Contains: Code to drive our MegaDialog example.
-
- Version: Appearance 1.0 SDK
-
- Copyright: © 1997, 1999 by Apple Computer, Inc., all rights reserved.
-
- File Ownership:
-
- DRI: Edward Voas
-
- Other Contact: 7 of 9, Borg Collective
-
- Technology: OS Technologies Group
-
- Writers:
-
- (jss) Jeff Shulman
- (edv) Ed Voas
-
- Change History (most recent first):
- $Log: MegaDialog.h,v $
- Revision 1.4 1999/04/23 23:25:59 voas
- [2296424] Use timers to control progress bar/caret blinking instead of
- relying on WNE timeouts.
-
- Revision 1.3 1999/04/15 00:39:23 mattack
- guyf edited the sources so they'd build on 8 and X while menu stuff was
- in flux.
-
-
- <1.2> 4/7/99 jss Add help tag stuff
- <1> 9/11/97 edv First checked in.
- */
-
- #pragma once
-
- #include "BaseDialog.h"
- #include "MegaPane.h"
-
- #include <MacHelp.h>
-
- class MegaDialog : public BaseDialog
- {
- public:
- MegaDialog();
- virtual ~MegaDialog();
-
- static pascal OSStatus HelpContentProvider(ControlRef inControl, Point inGlobalMouse, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentPtr ioHelpContent);
-
- protected:
- virtual void HandleItemHit( SInt16 item );
-
- private:
- void SwitchPane( SInt16 paneIndex );
-
- MegaPane* fPane;
-
- #if BUILDING_FOR_CARBON_8
- HMControlContentUPP fHelpContentProviderUPP;
- #endif
- };
-
-